package javaer.starter.constant;

import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * @author yangzhen
 * @date 2023/6/14 10:51
 * @since 1.0.0
 */
public enum StorePathEnum {
    PROJECT_PATH("/tmp/project", Paths.get("/tmp/project")),
    TEMPLATE_PATH("/tmp/template", Paths.get("/tmp/template")),
    ARCHIVE_PATH("/tmp/archive", Paths.get("/tmp/archive")),
    ;

    StorePathEnum(String directory, Path path) {
        this.directory = directory;
        this.path = path;
    }

    private String directory;

    private Path path;

    public String getDirectory() {
        return directory;
    }

    public Path getPath() {
        return path;
    }
}
